package test.config;

import com.peanut.controller.PublicUserAccessController;
import com.spring.annotation.Bean;
import com.spring.annotation.ComponentScan;
import com.spring.annotation.Configuration;
import com.spring.annotation.Value;
import lombok.ToString;

/**
 * @author ljj
 */
@Configuration
@ComponentScan("test.testA")
@ToString
public class Config2 {
	
	@Value("hello world")
	private String welcome;
	
	@Value("201")
	private Integer count;
	
	
	@Bean
	public InnerClass myInnerClass() {
		return new InnerClass();
	}
	
	public static class InnerClass {
		private String w;
	}
}
